package com.itsu.service;

import com.github.pagehelper.PageInfo;
import com.itsu.domain.QuestionItem;
import com.itsu.domain.User;

import java.util.List;

public interface QuestionItemService {

    void save(QuestionItem questionItem);

    void delete(QuestionItem questionItem);

    void update(QuestionItem questionItem);

    QuestionItem findById(String id);

    List<QuestionItem> findAll();

    List<QuestionItem> findByQuestionId(String id);

    PageInfo<QuestionItem> findByQuestionId(int pageNum, int pageSize, String id);
}
